package com.carrentalplatform.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("car_rental_shop")
public class CarRentalShop {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("shop_name")
    private String shopName;

    @TableField("contact_person")
    private String contactPerson;

    @TableField("contact_phone")
    private String contactPhone;

    private String address;

    @TableField("business_license")
    private String businessLicense;

    @TableField("total_cars")
    private Integer totalCars;

    @TableField("available_cars")
    private Integer availableCars;

    @TableField("shop_score")
    private BigDecimal shopScore;

    private Integer status;

    @TableField("create_time")
    private LocalDateTime createTime;
} 